using System;
using System.Collections.Generic;
using System.Text;

namespace notebook
{
    public class TextPictureBoxes : System.Collections.CollectionBase
    {
        public TextPictureBoxes()
        {

        }

        public void Add(MyPictureBox picture)
        {
            List.Add(picture);
        }

        public void Remove(MyPictureBox picture)
        {
            List.Remove(picture);
        }

        public MyPictureBox this[int pageIndex]
        {
            get
            {
                return (MyPictureBox)List[pageIndex];
            }
            set
            {
                List[pageIndex] = value;
            }
        }
    }
}
